package io.renren.common.utils;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author Luo Sheng
 * @school YiBin university
 * @create 2023-03-06 14:29
 */
@Component
public class ConstantPropertiesUtil implements InitializingBean {
    @Value("${remote.filePath}")
    private String filePath;

    public static String FILE_PATH;

    @Override
    public void afterPropertiesSet() throws Exception {
        FILE_PATH = filePath;

    }
}
